file(GLOB SOURCES *.cpp)
file(GLOB HEADERS *.h)

foreach(def ${wxWidgets_DEFINITIONS})
 add_definitions(
	 -D${def}
 )
endforeach()

add_executable(wxhelp
  ${SOURCES} ${HEADERS}
)

target_link_libraries(wxhelp
  PRIVATE
    Szarp2
    wxcommon
)

install(TARGETS wxhelp
  RUNTIME DESTINATION "${INSTALL_BINDIR}" DESTINATION bin)
